//
//  TableViewCell.m
//  BeanSproutEDU
//
//  Created by douya on 15/1/6.
//  Copyright (c) 2015年 douya. All rights reserved.
//

#import "TableViewCell.h"

@implementation TableViewCell

- (void)awakeFromNib {
    // Initialization code
    self.cell2_AccontTF.delegate=self;
    self.cell2_CodeTF.delegate=self;
    self.cell2_AccontTF.clearButtonMode=UITextFieldViewModeWhileEditing;
    self.cell2_CodeTF.clearButtonMode=UITextFieldViewModeWhileEditing;
}


-(BOOL)textFieldShouldReturn:(UITextField *)textField
{
    [self endEditing:YES];
    return YES;
}

-(BOOL)textFieldShouldBeginEditing:(UITextField *)textField
{
   
    return YES;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


@end
